import express from 'express'
const router = express.Router();
import TeacherInforController from '../../controller/teacher/TeacherInforController'

router.post('/add', TeacherInforController.addData);
router.post('/update', TeacherInforController.updateRecord);
router.post('/delete', TeacherInforController.deleteRecord);
router.post('/get', TeacherInforController.findById);
router.post('/list', TeacherInforController.findByPage);
router.post('/listall', TeacherInforController.findAll);


module.exports = router;